<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>解构</title>
    <script>
       let arr = [9,6,5,8,3,6];

       //表示从arr数组中解构,...others永远都表示剩余的值
       let [a,...heima63] = arr;

       console.log(a);
       console.log(heima63);
    </script>
</head>
<body>

</body>
</html>